<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>${category.name}</title>
		<script src="js/jquery.js" type="text/javascript"></script>
		<script src="js/table.js" type="text/javascript"></script>
	</head>
	<body>
		
		<div id="view_body_top">
			<div id="view_body_top_title">
				${category.name}
			</div>
		</div>
		<div id="view_body_middle">
			<div id="view_body_middle_left">
				<jsp:include  page="../categories.jsp" flush="true"/>
			</div>
			<div id="view_body_middle_right">
				<div class="view_body_middle_right_title">
					|&nbsp;&nbsp;${category.name}&nbsp;-&nbsp;文章列表
				</div>
				<form id="mainForm" action="article/viewArticles.action" method="post">
					<input type="hidden" name="page.pageNo" id="pageNo" value="${page.pageNo}"/>
					<input type="hidden" name="page.orderBy" id="orderBy" value="${page.orderBy}"/>
					<input type="hidden" name="page.order" id="order" value="${page.order}"/>
					<input type="hidden" name="cid" value="${cid}"/>
					<table class="table_items">
						<thead>
							<tr>
								<s:iterator value="tableHeaders">
									<th width="${hdwidth}" >
										${title} 
									</th>								
								</s:iterator>
							</tr>
						</thead>
						<tbody>
							<s:iterator value="page.result">
								<tr>
									<td>
										<a href="article/viewArticle.action?part=${part}&uuid=${uuid}">${title}</a>
									</td>
									<td style="font-size:12px;text-align: center;">
										<s:date name="updateDate" format="yyyy-MM-dd"/>
									</td>
								</tr>
							</s:iterator>
						</tbody>
					</table>
					<jsp:include page="../page.jsp"></jsp:include>
				</form>
			</div>
			<div class="div_clear">
			</div>
		</div>
	</body>
</html>